package com.tianji.learning.service;

import com.tianji.learning.entity.PointsBoard;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.pojo.PointsBoardQuery;
import com.tianji.learning.vo.PointsBoardVO;

/**
 * <p>
 * 学霸天梯榜 服务类
 * </p>
 *
 * @author xjs
 */
public interface IPointsBoardService extends IService<PointsBoard> {

    void createTable(String tableName);

    PointsBoardVO pageQuery(PointsBoardQuery query);

    /**
     * 定时任务，每月1号凌晨执行，把上个月的榜单的数据写入到mysql
     * */
    void syncRedisToMysql();

    void clearRedisPointBoard();
}
